<?php
// 本类由系统自动生成，仅供测试用途
/**
 * IndexAction
 * 
 * @package 
 * @author www.80boys.com
 * @copyright 2012
 * @version $Id$
 * @access public
 */
class ContentAction extends CommonAction {
	
  public function index(){ 
    
    }
  
  public function restest(){ 

     $user = session('_LOGIN_');
     $data['acl_add'] = $this->isAllowed($user['rolelist'], 'acl_add') ? true : false;
     $data['acl_del'] = $this->isAllowed($user['rolelist'], 'acl_del') ? true : false;
     $data['acl_select'] = $this->isAllowed($user['rolelist'], 'acl_select') ? true : false;
     $data['acl_edit'] = $this->isAllowed($user['rolelist'], 'acl_edit') ? true : false;
     $this->assign('data', $data);
     $this->display();
    
    }
}